{% extends "template.html" %}

{% block conteudo %}


<form action="" method="post">
	{% if erro %}
		{{ erro }}
	{% endif %}
	<table border="0" id="dr" width="100%" >
		<tbody>	
			<th colspan="2">
				Planos de Ensino
			</th>		
			{% if erroLista %}
			 	<tr class="{{ classetr }}">
			 	 	<td colspan="2" >
						{{ erroLista }}
					</td>
				</tr>
			{% endif %}
			{% for planosensino in planosensinos %}
				{% cycle 'odd' 'even' as classetr silent %}        
            	<tr class="{{ classetr }}">
            		<td>
						{{ planosensino.curso_disciplina }} 
					</td>
					<td>
						<a href="/DisciplinaRelacionada/{{ planosensino.id }}"><img src="{{ MEDIA_URL }}images/editar.jpg" width="20" height="20"/></a>
					</td>
					<td>
						<a href="/Relatorio/{{ planosensino.id }}"><img src="{{ MEDIA_URL }}images/relatorio.png" width="20" height="20"/></a>
					</td>
				</tr>
			{% endfor %}
		</tbody>
	</table>

{% endblock %}